package com.salton123.qa.demo

import android.app.Activity
import android.graphics.BitmapFactory
import android.os.Bundle
import kotlinx.android.synthetic.main.aty_image_detect.*

/**
 * User: newSalton@outlook.com
 * Date: 2020/1/16 15:06
 * ModifyTime: 15:06
 * Description:
 */
class ImageDetectActivity : Activity() {

    override fun onCreate(savedInstanceState: Bundle?) {
        super.onCreate(savedInstanceState)
        setContentView(R.layout.aty_image_detect)
        val bitmap = BitmapFactory.decodeResource(resources, R.mipmap.test)
        imageView.setImageBitmap(bitmap)
    }
}